﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BW.MesProject.WareHouse.Infrastructure.Dto.OutPut
{
    public class LocationOut
    {
        /// <summary>
        /// 库位ID;库位表主键
        /// </summary>
        public long Lid { get; set; }

        /// <summary>
        /// 库位编码
        /// </summary>
        public string Locationid { get; set; }

        /// <summary>
        /// 库位名称
        /// </summary>
        public string Locationname { get; set; }
        /// <summary>
        /// 货架/库区主键
        /// </summary>
        public long SHId { get; set; }
        /// <summary>
        /// 货架/库区ID
        /// </summary>
        public string Shelvesid { get; set; }

        /// <summary>
        /// 货架/库区名称
        /// </summary>
        public string Shelvesname { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string? Memo { get; set; }
        /// <summary>
        /// 人员编号
        /// </summary>
        public string EMPID { get; set; }

        /// <summary>
        /// 人员名称
        /// </summary>
        public string EMPName { get; set; }

        /// <summary>
        /// 创建人，可以为空
        /// </summary>
        public string? CreatedBy { get; set; }

        /// <summary>
        /// 创建时间，默认为当前系统时间
        /// </summary>
        public DateTime CreatedTime { get; set; }

        /// <summary>
        /// 更新时间，默认为当前系统时间
        /// </summary>
        public DateTime UpdatedTime { get; set; }

        /// <summary>
        ///逻辑删除
        /// </summary>
        public bool IsDeleted { get; set; } = false;

        /// <summary>
        ///是否启用
        /// </summary>
        public bool IsEnable { get; set; } = true;
    }
}
